﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing.plaf.basic.background {
    import flash.display.*;
    import org.aswing.*;
    import org.aswing.geom.*;
    import org.aswing.plaf.*;
    import org.aswing.graphics.*;
    import org.aswing.plaf.basic.*;

    public class ListBackground implements GroundDecorator, UIResource {

        public function getDisplay(_arg1:Component):DisplayObject{
            return (null);
        }
        public function updateDecorator(_arg1:Component, _arg2:Graphics2D, _arg3:IntRectangle):void{
            var _local4:ASColor;
            var _local5:StyleResult;
            var _local6:StyleTune;
            if (_arg1.isOpaque()){
                _local4 = _arg1.getMideground();
                _local6 = _arg1.getStyleTune();
                if (!_arg1.isEnabled()){
                    _local6 = _local6.sharpen(0.5);
                    _local4 = _local4.changeAlpha(0.6);
                };
                _local5 = new StyleResult(_local4, _local6);
                BasicGraphicsUtils.fillGradientRoundRect(_arg2, _arg3, _local5, (-(Math.PI) / 2));
            };
        }

    }
}//package org.aswing.plaf.basic.background 
